|
RtReleaseShutdownHandler destroys the shutdown handler object created by RtAttachShutdownHandler.
Syntax
BOOL RtReleaseShutdownHandler(
HANDLE hShutdown
);
Parameters
hShutdown
A handle returned by RtAttachShutdownHandler.
Return Values
TRUE when hShutdown specifies a valid shutdown handler object and the object has been successfully destroyed, FALSE otherwise
To get extended error information, call GetLastError.
Remarks
The shutdown handler should not call ExitThread or ExitProcess, nor should it attempt to create or close any objects. The process will exit after the shutdown handler returns.
Requirements
Header | Rtapi.h |
Library | Rtx_Rtss.lib |
See Also: